//
//  bankCardView.m
//  项目三
//
//  Created by rimi on 15/10/13.
//  Copyright (c) 2015年 rimi. All rights reserved.
//

#import "bankCardView.h"

@interface bankCardView ()

- (void)initializeUserInterface; /**< 初始化用户界面 */

@end

@implementation bankCardView

- (instancetype)init
{
    self = [super init];
    if (self) {
        [self initializeUserInterface];
    }
    return self;
}
- (void)initializeUserInterface {

    [super initializeUserInterface];
    [self addSubview:self.btn];
}

- (void)respondsToBtn:(UIButton *)sender {
    
    
}
#pragma mark - getter
- (UIButton *)btn {
    if (!_btn) {
        _btn = ({
            UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
            [btn setFrame:DHFlexibleFrame(CGRectMake(310, 844, 89, 36))];
            [btn setBackgroundImage:[UIImage imageNamed:@"申请"] forState:UIControlStateNormal];
            btn;
        });
    }
    return _btn;
}
@end
